package com.nekonomics
package domain.entity
import types.{PaymentMethod, PaymentStatus, Money}

import java.time.*

case class Payment(
  id: Long,
  orderId: Long,
  tradeNo: Option[String],
  method: PaymentMethod,
  status: PaymentStatus,
  createdAt: OffsetDateTime,
  updatedAt: OffsetDateTime,
  isDeleted: Boolean,
  paidAt: Option[OffsetDateTime],
  totalAmount: Money,
  htmlForm: String
)
